WPPayForm\App\Modules\PaymentMethods\Stripe\Stripe A

Total Complexity 65
Dependencies 6
Dependents 14
Total lines 351
Lines of code 263
Logical lines of code 128
Comment lines 16
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
savePaymentSettings()
A
46 9 37
addAddressToView()
S
50 5 34
getSecretKey()
S
57 6 17
getPubKey()
S
57 6 17
getMode()
S
62 6 10
addTransactionUrl()
S
60 5 13
choosePaymentMethod()
S
63 5 11
maybeSignupFeeToPaymentItems()
S
53 4 23
formatAddress()
S
55 4 21
pushAddressToInput()
S
62 3 11
getStripePaymentMethodByElement()
S
64 3 10
isStripeKeysDefined()
S
79 2 3
getStripeSettings()
S
60 1 14
registerHooks()
S
58 1 14
makeSubscriptionSync()
S
79 1 3
getPaymentSettings()
S
69 1 7
routePaymentHandler()
S
70 1 5
addPaymentMethodStyle()
S
72 1 5
addLocalizeVars()
S
66 1 8